home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / Q-R / RPN Calculator.cpt / RPN Calculator / card_9478.txt < prev    next >
Text File  |  1988-09-16  |  2KB  |  60 lines

  1. -- card: 9478 from stack: in
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 2499
  5. -- name: Programming 2
  6. ----- HyperTalk script -----
  7. on openCard
  8.   put "Programming" into field "Title"
  9. end openCard
  10.  
  11.  
  12.  
  13. -- part 1 (button)
  14. -- low flags: 00
  15. -- high flags: 8003
  16. -- rect: left=440 top=322 right=340 bottom=486
  17. -- title width / last selected line: 0
  18. -- icon id / first selected line: 0 / 0
  19. -- text alignment: 1
  20. -- font id: 0
  21. -- text size: 12
  22. -- style flags: 0
  23. -- line height: 16
  24. -- part name: Next
  25. ----- HyperTalk script -----
  26. on mouseUp
  27.   go to next card
  28. end mouseUp
  29.  
  30.  
  31.  
  32. -- part 2 (button)
  33. -- low flags: 00
  34. -- high flags: 8003
  35. -- rect: left=25 top=321 right=339 bottom=91
  36. -- title width / last selected line: 0
  37. -- icon id / first selected line: 0 / 0
  38. -- text alignment: 1
  39. -- font id: 0
  40. -- text size: 12
  41. -- style flags: 0
  42. -- line height: 16
  43. -- part name: Previous
  44. ----- HyperTalk script -----
  45. on mouseUp
  46.   go to previous card
  47. end mouseUp
  48.  
  49.  
  50.  
  51. -- part contents for background part 1
  52. ----- text -----
  53. Yoy may enter labels in the program to control branching.  Click in the       [Lbl] key while in prog mode to enter a label into the program.  Enter the label (single character) in the dialog box.  Click on the [GTo] key (while in prog mode) to have the program branch to the specified label at that point.  When the program mode is off, clicking [GTo] will put the step pointer at the label entered in the dialog box if it exists.  The default for [GTo] is      "start", which is the beginning of the program.  Any other label must be a single character.
  54.  
  55. The [GSb] key branches the program to a subroutine.  The label of the subroutine is asked for in a dialog box.  The subroutine must be ended by clicking the [Rtn] key.  Only one level of subroutine is allowed.
  56.  
  57.  
  58. -- part contents for background part 6
  59. ----- text -----
  60. Programming